import 'package:reabampos/src/reabam/operation/rb_config.dart';
import 'package:xsdk_flutter/xsdk/xsdk_flutter_package.dart';
import 'package:json_annotation/json_annotation.dart';

part 'rb_request.g.dart';

@JsonSerializable(explicitToJson: true)
class RBBaseRequest extends XRequest{
  String? tokenId;
  RBBaseRequest(){
    tokenId=XSharePreferencesUtils.getString(RBConfigs.SP_tokenId);
  }

  factory RBBaseRequest.fromJson(Map<String, dynamic> json) => _$RBBaseRequestFromJson(json);
  Map<String, dynamic> toJson() => _$RBBaseRequestToJson(this);
}